<?php
/*  
 * Implementation of the SAX xml reader  
 * created by simonyi peng 2010-04-28
 */  
	  
	//-------------------------------------------------------------------------------
	function initPublicKey($path)
	{
	  //file operate
	  //$f = fopen( $path, 'r' );
	  $data = '<publickeys>
<publickey>
<exponent>65537</exponent>
<modulus>149380992406927500716241361923785654160314473712177262569404352542855462290905900996898820349830223450863291102361998356737565352204766003197145257743784108967049311092979500247005291724928627891055953026325337822510580077557484401424165589043287424587640610886383070856297739481742150528531012906820072406507</modulus>
</publickey>
</publickeys>';
      @preg_match_all("%\<exponent\>(.+?)\<\/exponent\>\r\n\<modulus\>(.+?)\<\/modulus\>%s",$data, $val, PREG_PATTERN_ORDER);
	  return $val;
	  
	}

?>